Compilation unit elements: ( function-decl "shed__runtime__gc_get_root_stack_index" params=() return-types=(int) ) ( function-decl "shed__runtime__gc_set_root_stack_index" params=((param "gc_root_stack_index" int)) return-types=() ) ( function-decl "shed__runtime__gc_push_root" params=((param "gc_root" int)) return-types=() ) ( function "shed__function__f__0" visibility=private locals=((param "closurePointer__0" data-ptr) (val "local__a" data-ptr) (val "local__b" data-ptr) (val "gcRootStackIndex__0" int)) return-types=(int) body=( ( memory-load (local "local__a") pointer=(local "closurePointer__0") layout=(struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr)))))) element-offsets=(1 2 0) ) ( memory-load (local "local__b") pointer=(local "closurePointer__0") layout=(struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr)))))) element-offsets=(1 2 1) ) (call ((local "gcRootStackIndex__0")) "shed__runtime__gc_get_root_stack_index" ()) (call () "shed__runtime__gc_set_root_stack_index" ((local "gcRootStackIndex__0"))) (call () "shed__runtime__gc_push_root" ((local "local__a"))) (return ((local "local__a"))) ) ) ( function-decl "shed__runtime__gc_alloc" params=((param "size" int) (param "runtime_type_tag" int32)) return-types=(data-ptr) ) Locals: * (val "local__a" data-ptr) * (val "local__b" data-ptr) * (val "closure__f__0" int) * (val "closurePointer__f__0" data-ptr) Instructions: ( (call ((local "closurePointer__f__0")) "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr)))))))) (int32-const 3))) ( memory-store pointer=(local "closurePointer__f__0") layout=(struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr)))))) element-offsets=(1 2 0) value=(data-ptr-const null) ) ( memory-store pointer=(local "closurePointer__f__0") layout=(struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr)))))) element-offsets=(1 2 1) value=(data-ptr-const null) ) ( memory-store pointer=(local "closurePointer__f__0") layout=(struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr)))))) element-offsets=(1 0) value=(function-ptr-const "shed__function__f__0") ) ( memory-store pointer=(local "closurePointer__f__0") layout=(struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr)))))) element-offsets=(1 2 0) value=(local "local__a") ) ( memory-store pointer=(local "closurePointer__f__0") layout=(struct ((struct (data-ptr int32 int32)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr)))))) element-offsets=(1 2 1) value=(local "local__b") ) (data-ptr-to-int (local "closure__f__0") (local "closurePointer__f__0")) ) Temporary stack: * PatioLocalRef[name=closure__f__0]